<template>
	<view class="user-list m-f-ac animate__animated animate__slideInLeft animate__faster">
		<image class="u-image" :src="item.userpic" mode="aspectFill" lazy-load></image>
		<view class="m-f-jsb">
			<view class="u-left">
				<view class="l-t">{{item.username}}</view>
				<tag-sex-age :age="item.age" :sex="item.sex"></tag-sex-age>
			</view>
			<view class="icon iconfont" :class="[item.isguanzhu ? 'icon-zhengque' : 'icon-jiahao']"></view>
		</view>
	</view>
</template>

<script>
	import tagSexAge from '../../components/common/tag-sex-age.vue'
	export default {
		props: {
			item: {
				type: Object
			}
		},
		components: {
			tagSexAge,
		},
		methods: {
			
		}
	}
</script>

<style lang="scss" scoped>
.user-list {
	padding: 20rpx;
	border-bottom: 1rpx solid #EEEEEE;
	.u-image {
		width: 100rpx;
		height: 100rpx;
		border-radius: 100%;
		margin-right: 20rpx;
		flex-shrink: 0;
	}
	.m-f-jsb {
		flex: 1;
		.l-t {
			font-size: 32rpx;
		}
	}
}
.icon-jiahao {
	color: #F8791B;
}
</style>
